package cn.itlaobing.spring.service;

import java.util.List;

import cn.itlaobing.spring.entity.Teacher;

/**
 * 教师
 * @author 雪儿
 *
 */
public interface TeachersService {
	/**
	 * 全查询
	 * @return
	 */
	public List<Teacher> findAll();
	/**
	 * 添加
	 * @param student
	 */
	public void save(Teacher teacher);
	/**
	 * 单查询
	 * @param id
	 * @return
	 */
	public Teacher findAllById(Long id);
	/**
	 * 修改
	 * @param student
	 */
	public void update(Teacher teacher);
	/**
	 * 删除
	 * @param id
	 */
	public void delete(Long id);
	
}
